:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #2c3e50;
  background-color: #f5f7fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #409eff;
  text-decoration: inherit;
}
a:hover {
  color: #79bbff;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 2.4em;
  line-height: 1.1;
}

button {
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
}
button:hover {
  border-color: #409eff;
  color: #409eff;
}
button:focus,
button:focus-visible {
  outline: 2px solid #409eff;
  outline-offset: 2px;
}

.card {
  padding: 1.5em;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2em;
  }
  
  .card {
    padding: 1em;
  }
}
